#include <QTimer>
#include <exception>
#include "HPCServer.h"

int main(int argc, char *argv[])
{
    try
    {
        HPCServer server( argc, argv );
        QTimer::singleShot(0,&server,SLOT(Run()));
        server.exec();
    }
    catch ( std::exception& e )
    {
        LOG(fatal, e.what() );
        return -1;
    }

    return 0;
}
